package com.example.gsnd21study.mapper;

import com.example.gsnd21study.entity.DRO.RoleAndUser;
import com.example.gsnd21study.entity.Role;
import org.apache.ibatis.annotations.Mapper;


/**
* @author 30375
* @description 针对表【sys_role(角色)】的数据库操作Mapper
* @createDate 2024-05-23 09:35:54
* @Entity com.example.gsnd21study.entity.Role
*/
@Mapper
public interface RoleMapper {
    /**
     * 查询某个角色下拥有的用户信息
     * @param roleId
     * @return
     */
    RoleAndUser selectRoleAndUserByRoleId(Long roleId);

}




